﻿using GrainManage.Entities.Price;

namespace GrainManage.Interface
{
    public interface IPrice
    {

        //************************************************POST************************************************

        OutputGetByID GetByID(InputGetByID input);

        OutputGetRecentPriceByGrain GetRecentPriceByGrain(InputGetRecentPriceByGrain input);

        OutputSearchRecentPrice SearchRecentPrice(InputSearchRecentPrice input);

        OutputSearchPrice SearchPrice(InputSearchPrice input);

        OutputInsert Insert(InputInsert input);

        OutputUpdate Update(InputUpdate input);

        OutputDelete Delete(InputDelete input);

        OutputBatchInsert BatchInsert(InputBatchInsert input);

        OutputBatchUpdate BatchUpdate(InputBatchUpdate input);

        OutputBatchDelete BatchDelete(InputBatchDelete input);
    }
}
